﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SMO.Controllers.Home
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Index(FormCollection formValues)
        {
            if (formValues.Get("ctl00$MainContent$login") == "on")
                Session["USERID"] = "1793d473-b472-4462-8627-d54746d49a1a";
            return RedirectToAction("PortfoliosEdit", "Portfolios");
        }
    }
}
